package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单课程实体
 * @author panweiliang
 */
@Data
@TableName("ls_order_course")
public class OrderCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer id; // 
    private Integer orderId; // 订单id
    private Integer courseId; // 课程id
    private String courseSnap; // 课程快照
    private Integer isComment; // 是否已评价：1-是；0-否

}